package com.fili.core;

import java.util.ArrayList;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Oct 5, 2006
 * Time: 12:51:04 PM
 * Revision: 0
 */
public class CompileParam
{
    private String name;
    private ArrayList values;
    private boolean exclusive;


    public String getName()
    {
        return name;
    }

    public String[] getValues()
    {
        String[] v=new String[values.size()];
        for(int i=0;i<values.size();i++)
            v[i]=(String)(values.get(i));

        return v;            
    }


    public boolean isExclusive()
    {
        return exclusive;
    }

    public void setExclusive(boolean exclusive)
    {
        this.exclusive = exclusive;
    }

    public CompileParam(String name)
    {
        this.name = name;
        values = new ArrayList(10);
    }

    public void addValue(String s)
    {
        values.add(s);
    }
}
